// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///F:/LYH/work-git/DH.Consume.Admin/node_modules/vite/dist/node/index.js";
import vue from "file:///F:/LYH/work-git/DH.Consume.Admin/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///F:/LYH/work-git/DH.Consume.Admin/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///F:/LYH/work-git/DH.Consume.Admin/node_modules/unplugin-vue-components/dist/vite.js";
import { LayuiVueResolver } from "file:///F:/LYH/work-git/DH.Consume.Admin/node_modules/unplugin-vue-components/dist/resolvers.js";
import path from "path";
import { createSvgIconsPlugin } from "file:///F:/LYH/work-git/DH.Consume.Admin/node_modules/vite-plugin-svg-icons/dist/index.mjs";
var __vite_injected_original_import_meta_url = "file:///F:/LYH/work-git/DH.Consume.Admin/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [LayuiVueResolver()]
    }),
    Components({
      resolvers: [
        LayuiVueResolver({
          resolveIcons: true,
          exclude: ["LayJsonSchemaForm"]
          //当使用 unplugin-vue-components/resolvers 默认注册 layui-vue 所有组件时，需要排除 LayJsonSchemaForm
        })
      ]
    }),
    createSvgIconsPlugin({
      // 指定要缓存的图标文件夹（将所有svg都放在一个文件夹下）
      iconDirs: [path.resolve(process.cwd(), "src/icons")],
      // 执行icon name的格式（dir代表文件夹名称，name代表icon名称）
      symbolId: "icon-[dir]-[name]"
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJGOlxcXFxMWUhcXFxcd29yay1naXRcXFxcREguQ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